package com.giscloud.limp.dao;

import com.giscloud.limp.entity.CaseClose;
import org.apache.ibatis.annotations.Param;
import com.giscloud.limp.entity.CaseCloseExample;
import java.util.List;
import com.giscloud.datasource.core.DynamicDataSource;
/**
 * 案件结案信息
 * 
 * @author giscloud
 * @email giscloud@giscloud.com
 * @date 2020-06-18 18:57:10
 */
public interface CaseCloseDao {
    @DynamicDataSource("ds1")
    long countByExample(CaseCloseExample example);
    @DynamicDataSource("ds1")
    int deleteByExample(CaseCloseExample example);
    @DynamicDataSource("ds1")
    int insert(CaseClose record);
    @DynamicDataSource("ds1")
    int insertSelective(CaseClose record);
    @DynamicDataSource("ds1")
    List<CaseClose> selectByExample(CaseCloseExample example);
    @DynamicDataSource("ds1")
    int updateByExampleSelective(@Param("record") CaseClose record, @Param("example") CaseCloseExample example);
    @DynamicDataSource("ds1")
    int updateByExample(@Param("record") CaseClose record, @Param("example") CaseCloseExample example);
    @DynamicDataSource("ds1")
    int updateByPrimaryKeySelective(CaseClose record);
    @DynamicDataSource("ds1")
    int updateByPrimaryKey(CaseClose record);
    @DynamicDataSource("ds1")
    CaseClose selectByPrimaryKey(Integer caseCloseId);
    @DynamicDataSource("ds1")
    CaseClose selectOneByExample(CaseCloseExample example);
    @DynamicDataSource("ds1")
    CaseClose selectOneByExampleSelective(@Param("example") CaseCloseExample example, @Param("selective") CaseClose.Column... selective);
    @DynamicDataSource("ds1")
    CaseClose selectByPrimaryKeySelective(Integer caseCloseId, @Param("selective") CaseClose.Column... selective);
    @DynamicDataSource("ds1")
    List<CaseClose> selectByExampleSelective(@Param("example") CaseCloseExample example, @Param("selective") CaseClose.Column... selective);

}
